package com.samphanie.auiu.common.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author ZSY
 * @email 1451691457@qq.com
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class AdminLoginDto implements Serializable {
    private static final long serialVersionUID = -7926384753131521952L;

    @NotBlank
    @ApiModelProperty(value = "用户名")
    private String username;
    @NotBlank
    @ApiModelProperty(value = "密码")
    private String password;
    @NotBlank
    @ApiModelProperty(value = "验证码")
    private String code;

}
